package GJAM.MVC;

import javax.microedition.lcdui.*;

public abstract class View extends Form{

    protected Model model = null;
    protected Display display = null;

    public View(Model model, Display display, String viewTitle) {
        super(viewTitle);
        this.display = display;
        this.model = model;
    }

    public abstract void update();
    
    protected boolean isCurrentView()
    {
        if(display.getCurrent() == this)
            return true;
        else
            return false;
    }
}
